﻿@model Citi.Scheduler.WebUi.Models.MachineModel

<tr>
    <td>
        Last shutdown
    </td>
    <td>@Html.DisplayFor(modelItem => Model.LastShutDown)
    </td>
</tr>
<tr>
    <td>
        Operating System
    </td>
    <td>@Html.DisplayFor(modelItem => Model.OperatingSystemInformation)
    </td>
</tr>
<tr>
    <td>
        RAM
    </td>
    <td>@Html.DisplayFor(modelItem => Model.Ram)
    </td>
</tr>
<tr>
    <td>
        Processor
    </td>
    <td>@Html.DisplayFor(modelItem => Model.ProcessorInformation)
    </td>
</tr>
    
<tr>
    <td>
        Disk Size
    </td>
    <td>@Html.DisplayFor(modelItem => Model.DiskSize)
    </td>
</tr>
<tr>
    <td>
        Disk Free Space
    </td>
    <td>@Html.DisplayFor(modelItem => Model.DiskFreeSpace)
    </td>
</tr>
<tr>
    <td style="vertical-align:top;">
        Installed Applications
    </td>
    <td>
    @if (Model.InstalledApplications != null)
    {
        foreach (var application in Model.InstalledApplications.OrderBy(x => x))
        {
            @Html.DisplayFor(modelItem => application)
            <br />
        }
    }
    </td>
</tr>
<tr>
    <td colspan="2">
    </td>
</tr>